package com.yuqiang.user.service.impl;

import com.yuqiang.user.dao.KeyDao;
import com.yuqiang.user.dao.UserInfoDao;
import com.yuqiang.user.model.bo.KeyBo;
import com.yuqiang.user.model.bo.UserInfoBo;
import com.yuqiang.user.model.po.KeyPo;
import com.yuqiang.user.model.po.UserInfoPo;
import com.yuqiang.user.model.vo.KeyVo;
import com.yuqiang.user.model.vo.UserInfoVo;
import com.yuqiang.user.service.KeyService;
import com.yuqiang.user.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("keyService")
public class KeyServiceImpl implements KeyService {

	@Autowired
	private KeyDao keyDao;


	@Override
	public Integer selectKeyTotal(KeyBo bo) {
		return keyDao.selectKeyTotal(bo);
	}

	@Override
	public List<KeyVo> selectKeyRows(KeyBo bo) {
		return keyDao.selectKeyRows(bo);
	}

	@Override
	public void updateKeyById(KeyPo po) {
		keyDao.updateKeyById(po);
	}

	@Override
	public void getKey(KeyPo po) {
		keyDao.getKey(po);
	}
}
